package xin.nick.demo.service.impl;

import xin.nick.demo.service.IDemoService;
import xin.nick.summer.annotation.Service;

import java.time.LocalDateTime;

/**
 * @author Nick
 * @date 2021/5/29
 * @description
 */
@Service
public class IDemoServiceImpl implements IDemoService {
    @Override
    public String get(String name) {
        return new StringBuilder("你好,").append(name)
                .append(",现在时间为: ")
                .append(LocalDateTime.now().toString()).toString();
    }
}
